<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="__PUBLIC__/Home/style/css/default.css" />
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
        <script src="__PUBLIC__/Home/KinSlideshow/js/jquery.KinSlideshow-1.2.1.min.js" type="text/javascript"></script>
        <script src="__PUBLIC__/Home/tagCloud/tagCloud.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(function(){
                //幻灯
                $("#KinSlideshow").KinSlideshow({
                                    moveStyle:"left",
                                    intervalTime:8,
                                    mouseEvent:"mouseover",
                                    titleFont:{TitleFont_size:14,TitleFont_color:"#ccc"}
                });
                //3d云标签
                $("#tagCloud").tagCloud();
            })
        </script>
    </head>
    <body>
        <?php  include 'E:\xampp\htdocs\cxz001/Tpl/default/header.html'; ?>
        <div class="content">
            
            <div class="wrap">
                
                <div class="imgslide">
                    <div class="showarea">
                        <div id="KinSlideshow" style="visibility:hidden;">
                            <?php $__LIST__ = D('CArchive')->page(1,5)->GetArcList('0','id|desc','p','1','1',true,false); if(is_array($__LIST__)): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$Field): $mod = ($i % 2 );++$i;?><a href="<?php echo ($Field["arcurl"]); ?>" target="_blank"><img src="<?php echo ($Field["litpic"]); ?>" alt="<?php echo ($Field["title"]); ?>" width="405" height="220" /></a><?php endforeach; endif; else: echo "" ;endif; ?>

                        </div>
                    </div>
                </div>
                <div class="box index_slide_right">
                    <div class="tt">精彩头条</div>
                    <div class="ct">
                        <ul>
                            <?php $__LIST__ = D('CArchive')->page(1,6)->GetArcList('0','id|desc','h','1','1',true,false); if(is_array($__LIST__)): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$Field): $mod = ($i % 2 );++$i;?><li><i <?php if($i < 4): ?>class="top3"<?php endif; ?>><?php echo ($i); ?></i><a href="<?php echo ($Field["arcurl"]); ?>" target="_blank"><?php echo ($Field["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="index_new_list">
                    <div class="tt"><i class="newest"></i>最新文章</div>
                    <div class="index_ct">
                        <ul>
                        <?php $__LIST__ = D('CArchive')->page(1,10)->GetArcList('0','totalcc','','1','1',true,false); if(is_array($__LIST__)): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$Field): $mod = ($i % 2 );++$i;?><li>
                                <dl>
                                    <dt><i class="arrow"></i><a href="<?php echo ($Field["arcurl"]); ?>" target="_blank"><?php echo ($Field["title"]); ?></a><span class="date"><?php echo (date("Y-m-d H:i:s",$Field["update"])); ?></span></dt>
                                    <dd><span>简介：</span><?php echo (($Field["description"])?($Field["description"]):"这家伙很懒，什么也没留下"); ?></dd>
                                </dl>
                                
                            </li><?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="sidebar">
                <div class="box tagCloud" id="tagCloud">
                    <?php $__LIST__ = D('CTags')->GetTagList(30); if(is_array($__LIST__)): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$Field): $mod = ($i % 2 );++$i;?><a href="<?php echo ($Field["tagurl"]); ?>" style="color:<?php echo ($Field["color"]); ?>;"><?php echo ($Field["tagname"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
                </div>
            </div>
        </div>
        <div class="clear"></div>
        <div class="footer"></div>
    </body>
</html>